package com.hellowx.feignclient.impl;

import com.hellowx.feignclient.HystrixClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by IntelliJ IDEA.
 *
 * @author MagicMushroom
 * @date 2021/7/13
 */
@RestController
public class HystrixFallback implements HystrixClient {

    @Override
    public String demo(Integer id) {
        return "网络繁忙！！，请稍后重试！";
    }
}
